package cn.javabb.core.query;

import cn.javabb.core.base.BaseQuery;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
public class PostQuery extends BaseQuery {


    private Integer postId;
    // 作者
    private Integer userId;

    private String userName;

    private String title;

    private Integer catalogId;

    private Integer postType;

    // 类型 new/top/support/comment
    private Integer postTop;

    private Integer postSupport;

    private Integer newest;

    private Integer hot; // 最热
    // 状态
    private Integer state;

    private String topIds;
}
